Beginning Amazon Web Services With Node.js by Adam Shackelford
Author:Adam Shackelford [Shackelford, Adam]
Language: eng
Format: epub
Tags: Linux, Computers, JavaScript, Operating Systems, Programming Languages
ISBN: 9781484206539
Google: 0GAnCgAAQBAJ
Publisher: Apress
Published: 2015-03-18T20:38:27+00:00
Caching
Now it’s time to see CloudFront’s caching in action. Make another POST request to /photos/upload, this time with the caption “Hello London.” Then, make another GET request to /photos/search?query=Hello. The response should be lightning fast, but if you look closely at the JSON, you will not see your most recent photo, “Hello London.” This is because after the first request, CloudFront is now storing a cached object for the address /photos/search?query=Hello. It will continue to send the same response to all requests for this URL, until the object expires. But when does it expire?
Each object stored in the cache is linked to a behavior, and its expiration is determined by the value of several fields in the corresponding behavior, shown in Figure 4-12.
Figure 4-12.Important CloudFront behavior fields when determining object caching
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
The Mikado Method by Ola Ellnestam Daniel Brolund(25291)
Hello! Python by Anthony Briggs(24338)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(23432)
Kotlin in Action by Dmitry Jemerov(22511)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(21975)
Dependency Injection in .NET by Mark Seemann(21845)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(20711)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(19523)
Grails in Action by Glen Smith Peter Ledbrook(18605)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(17033)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(15843)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(13690)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(11853)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(11151)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(10621)
Hit Refresh by Satya Nadella(9199)
The Kubernetes Operator Framework Book by Michael Dame(8570)
Exploring Deepfakes by Bryan Lyon and Matt Tora(8400)
Robo-Advisor with Python by Aki Ranin(8361)